package com.tuoren.forward.mapper;

import java.util.List;

import com.tuoren.forward.annotation.SqlLimit;
import com.tuoren.forward.entity.Model;
import com.tuoren.forward.entity.dto.ModelDto;

@SqlLimit
public interface ModelMapper {
    int deleteByPrimaryKey(String id);

    int insert(Model row);

    int insertSelective(Model row);

    Model selectByPrimaryKey(String id);
    
    Model selectByTitle(String title);
    
    List<Model> select(ModelDto row);

    int updateByPrimaryKeySelective(Model row);

    int updateByPrimaryKey(Model row);
}